<?php
/*
	插件初始化
*/
namespace jy_kaoshi;
defined('BY_JYA') or exit('error');
function init($plugin){
	//定义本场景的一些独立,为空表示共用电商客的
	$plugin->weishop_order_detail='';
	$plugin->weishop_order_list='';
	$plugin->syscolor=$plugin->plugin_setting('basic')['syscolor']?:'';
	$plugin->plugins=array();
	$plugin->ti_types=array('4'=>'单选题','5'=>'多选题','20'=>'判断题');
	$plugin->member_status=array(
		'0'=>'正常',
		'1'=>'禁用',
	);
	$plugin->duicuo=array('A'=>'对','B'=>'错');
	$plugin->card_status=array(
		'0'=>'未被领取',
		'1'=>'已被领取',
		'2'=>'已绑定题库',
	);
	$plugin->danan_key=array(
		'0'=>'A',
		'1'=>'B',
		'2'=>'C',
		'3'=>'D',
		'4'=>'E',
		'5'=>'F',
		'6'=>'G',
		'7'=>'H',
		'8'=>'I',
		'9'=>'J',
		'10'=>'K',
	);
	$plugin->apidatademo=array(
		array(
						'left' => '110',
						'top' => '385',
						'type' => 'qr',
						'width' => '100',
						'height' => '100',
		),
		array(
						'left' => '116',
						'top' => '490',
						'type' => 'text',
						'width' => '100',
						'height' => '25',
						'size' => '9',
						'value' => '长按或扫描查看',
						'color'=>'#ddd',
		),
	);
}